package com.yuanfengerp.basicInfoManage.paymode.dao;

import com.yuanfengerp.basicInfoManage.paymode.moudel.PayMethodInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;


@Mapper
@Repository
public interface IPayMethodInfoMapper {
    int deletePayMethodInfo(@Param("payment_methods_ordinal") int payment_methods_ordinal);

    int insertPayMethodInfo(PayMethodInfo payMethodInfo);

    List<PayMethodInfo> selectAllPayMethodInfo(Map<String,Object> params);

    int updatePayMethodInfo(PayMethodInfo payMethodInfo);
    PayMethodInfo selectPayMethodInfoByName(String payment_methods_name);

    List<PayMethodInfo> selectPayMethodInfo(Map<String, Object> params);

    Integer count();

}
